home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / MPW / indent 1.8 / Indent.Help < prev    next >
Encoding:
Text File  |  1993-04-06  |  5.0 KB  |  117 lines  |  [TEXT/MPS ]

  1. Indent                            # GNU Indent formats C code
  2. Indent [option…] [file…] ≥ errors
  3. Indent [option…] file [-o output | -st > output] ≥ errors
  4.     -bad                                #
  5.     --blank-lines-after-declarations    # Force blank lines after the declarations
  6.     -bap                                #
  7.     --blank-lines-after-procedures        # Force blank lines after procedure bodies
  8.     -bbb                                #
  9.     --blank-lines-after-block-comments    # Force blank lines after block comments
  10.     -bc                                    #
  11.     --blank-lines-after-commas            # Force newline after comma in declaration
  12.     -bl                                    #
  13.     --braces-after-if-line                # Put braces on line after if, etc
  14.     -bli<n>                                #
  15.     --brace-indent<n>                    # Indent braces <n> spaces
  16.     -br                                    #
  17.     --braces-on-if-line                    # Put braces on line with if, etc
  18.     -c<n>                                #
  19.     --comment-indentation<n>            # Put comments to the right of code in column <n>
  20.     -cd<n>                                #
  21.     --declaration-comment-column<n>        # Put comments to the right of the declarations in column <n>
  22.     -cdb                                #
  23.     --comment-delimiters-on-blank-lines    # Put comment delimiters on blank lines
  24.     -ce                                    #
  25.     --cuddle-else                        # Cuddle else and preceding }
  26.     -ci<n>                                #
  27.     --continuation-indentation<n>        # Continuation indent of <n> spaces
  28.     -cli<n>                                #
  29.     --case-indentation<n>                # Case label indent of <n> spaces
  30.     -cp<n>                                #
  31.     --else-endif-column<n>                # Put comments to the right of #else and #endif statements in column <n> 
  32.     -cs                                    #
  33.     --space-after-cast                    # Put a space after a cast operator
  34.     -bs                                    #
  35.     --blank-before-sizeof                # Put a space between sizeof and its argument
  36.     -d<n>                                #
  37.     --line-comments-indentation<n>        # Set indentation of comments not to the right of code to <n> spaces
  38.     -di<n>                                #
  39.     --declaration-indentation<n>        # Put variables in column <n>
  40.     -fc1                                #
  41.     --format-first-column-comments        # Format comments in the first column
  42.     -fca                                #
  43.     --format-all-comments                # Do not disable all formatting of comments
  44.     -gnu                                #
  45.     --gnu-style                            # Use GNU coding style.  This is the default
  46.     -i<n>                                #
  47.     --indent-level<n>                    # Set indentation level to <n> spaces
  48.     -ip<n>                                #
  49.     --parameter-indentation<n>            # Indent parameter types in old-style function definitions by <n> spaces
  50.     -kr                                    #
  51.     --k-and-r-style                        # Use Kernighan & Ritchie coding style
  52.     -l<n>                                #
  53.     --line-length<n>                    # Set maximum line length to <n>
  54.     -lp                                    #
  55.     --continue-at-parentheses            # Line up continued lines at parentheses
  56.     -lps                                #
  57.     --leave-preprocessor-space            # Leave space between # and preprocessor directive.
  58.     -nbad                                #
  59.     --no-blank-lines-after-declarations    # Do not force blank lines after declarations
  60.     -nbap                                #
  61.     --no-blank-lines-after-procedures    # Do not force blank lines after procedure bodies
  62.     -nbbb                                #
  63.     --no-blank-lines-after-block-comments    # Do not force blank-lines after block comments
  64.     -nbc                                #
  65.     --no-blank-lines-after-commas        # Do not force newlines after commas in declarations
  66.     -ncdb                                #
  67.     --no-comment-delimiters-on-blank-lines    # Do not put comment delimiters on blank lines
  68.     -nce                                #
  69.     --dont-cuddle-else                    # Do not cuddle } and else
  70.     -ncs                                #
  71.     --no-space-after-casts                # Do not put a space after cast operators
  72.     -nfc1                                #
  73.     --dont-format-first-column-comments    # Do not format comments in the first column as normal
  74.     -nfca                                #
  75.     --dont-format-comments                # Do not format any comments
  76.     -nip                                #
  77.     --no-parameter-indentation            # Zero width indentation for parameters
  78.     -nlp                                #
  79.     --dont-line-up-parentheses            # Do not line up parentheses
  80.     -npcs                                #
  81.     --no-space-after-function-call-names    # Do not put space after the function in function calls
  82.     -npsl                                #
  83.     --dont-break-procedure-type            # Put the type of a procedure on the same line as its name
  84.     -nsc                                #
  85.     --dont-star-comments                # Do not put the * character at the left of comments
  86.     -nsob                                #
  87.     --leave-optional-blank-lines        # Do not swallow optional blank lines
  88.     -nss                                  #
  89.     --dont-space-special-semicolon        # Do not force a space before the semicolon after certain statements. Disables -ss
  90.     -nv                                    #
  91.     --no-verbosity                        # Disable verbose mode.
  92.     -orig                                #
  93.     --original                            # Use the original Berkeley coding style
  94.     -npro                                #
  95.     --ignore-profile                    # Do not read Indent Prefs file
  96.     -pcs                                  #
  97.     --space-after-procedure-calls        # Insert a space between the name of the procedure being called and the (
  98.     -psl                                #
  99.     --procnames-start-lines                # Put the type of a procedure on the line before its name
  100.     -sc                                    #
  101.     --start-left-side-of-comments        # Put the * character at the left of comments
  102.     -sob                                #
  103.     --swallow-optional-blank-lines        # Swallow optional blank lines
  104.     -ss                                    #
  105.     --space-special-semicolon            # On one-line for and while statments, force a blank before the semicolon
  106.     -st                                    #
  107.     --standard-output                    # Write to standard output
  108.     -T                                   # Tell Indent the name of typenames
  109.     -troff                                # Format the program for printing with troff.  Use of this option is not suggested.
  110.     -ts<n>                                #
  111.     --tab-size<n>                        # Set tab size to <n> spaces
  112.     -v                                    #
  113.     --verbose                            # Enable verbose mode
  114.     -version                            # Output the version number of Indent
  115.  
  116. _
  117.